import Vue from 'vue'
import App from './App.vue'
import router from './router'
import '@/mobile/flexible.js' // 移动端适配
import '@/styles/reset.css' // 初始化样式
// import '@/styles/global.css' // 全局样式

import { Tabbar, TabbarItem, Search, Cell, CellGroup, Swipe, SwipeItem, Image as VanImage, List, Icon, Lazyload, Grid, GridItem, NavBar, Card } from 'vant'

Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Search)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(VanImage)
Vue.use(List)
Vue.use(Icon)
Vue.use(Lazyload)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(NavBar)
Vue.use(Card)

Vue.config.productionTip = false

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')